home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
wdj0796.zip
/
RAJA.ZIP
/
GENERDOC.CPP
next >
Wrap
C/C++ Source or Header
|
1996-03-08
|
2KB
|
81 lines
// generdoc.cpp : implementation of the CGenericDoc class
//
#include "stdafx.h"
#include "generic.h"
#include "generdoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGenericDoc
IMPLEMENT_DYNCREATE(CGenericDoc, CDocument)
BEGIN_MESSAGE_MAP(CGenericDoc, CDocument)
//{{AFX_MSG_MAP(CGenericDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGenericDoc construction/destruction
CGenericDoc::CGenericDoc()
{
// TODO: add one-time construction code here
}
CGenericDoc::~CGenericDoc()
{
}
BOOL CGenericDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CGenericDoc serialization
void CGenericDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CGenericDoc diagnostics
#ifdef _DEBUG
void CGenericDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CGenericDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CGenericDoc commands